/**
 * 
 */
package com.jfootball.service;

import java.io.Serializable;
import java.util.List;

import com.jfootball.domain.Team;

/**
 * @author Alessandro Danesi
 *
 * 22/mag/201523:11:56
 */
public interface TeamService
{

	/**
	 * @param idCareer
	 * @return
	 */
	public Team getTeamByID(Long id);
	
	public List<Team> getTeamsByDivision(Long nationId, Long divisionId);
	
	public Long getPlayersCountByDivision(Long nationId, Long divisionId);
	
	public void deleteTeam(Long idTeam);
	
	public void saveTeam(Serializable obj);
	
	public List<String> getTeamsByName(String name);
}
